/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package collections;
import java.util.ArrayList;

/**
 *
 * @author Iskandar Sarkawi
 */
public class ArrayListExample2 {

    public static void main(String[] args) {

        Notebook n1 = new Notebook();
        Notebook n2 = new Notebook();

        n1.storeNote("TODO List 1");
        n1.storeNote("TODO List 2");
        n1.storeNote("TODO List 3");

        n2.storeNote("TOBUY List 1");
        n2.storeNote("TOBUY List 2");
        n2.storeNote("TOBUY List 3");

        System.out.println("There are "+ n1.getNumberOfNotes() +" notes in Notebook1");
        System.out.println("");
        n1.showNote(1);
        System.out.println("");
        n1.printNotes();
        System.out.println("");
        n1.alternatePrintNotes();

        System.out.println("\nThere are "+ n2.getNumberOfNotes() +" notes in Notebook2");
        System.out.println("");
        n2.showNote(1);
        System.out.println("");
        n2.printNotes();
        System.out.println("");
        n2.alternatePrintNotes();
    }
    

}
